#define _CRT_SECURE_NO_WARNINGS

#include "sort.h"

void Print(int* arr, int n)
{
	for (int i = 0; i < n; i++)
	{
		printf("%d ", arr[i]);
	}
	printf("\n");
}

int main()
{
	int arr[] = { 1, 43,4,3,465,65,734,2,35,46,64,4,4,44,4,4,42,32,34 }; 
	int n = sizeof(arr) / sizeof(arr[0]);
	Print(arr, n);

	//QuickSortNonR2(arr, 0, n - 1);
	MergeSortNonR(arr, n);
	Print(arr, n);
	return 0;
}